home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir24
/
psi110g.zip
/
EAGLEVEC.ASM
< prev
next >
Wrap
Assembly Source File
|
1993-09-16
|
919b
|
44 lines
; Eagle (8530 card) interrupt hooks
;% .MODEL MEMMOD,C
include asmglobal.h
LOCALS
%MACS
.LALL
extrn Stktop,Spsave,Sssave,egint:proc,doret:proc,eoi:proc
.CODE
dbase dw @Data ; save loc for ds (must be in code segment)
; eg0vec - Eagle card #0 interrupt handler
public eg0vec
label eg0vec far
push ds ; save on user stack
mov ds,cs:dbase ; establish interrupt data segment
mov Sssave,ss ; stash user stack context
mov Spsave,sp
mov ss,cs:dbase
lea sp,Stktop
; push ax ; save user regs on interrupt stack
; push bx
; push cx
; push dx
; push bp
; push si
; push di
PUSHALL
push es
call eoi
mov ax,0 ; arg for service routine
push ax
call egint
pop ax
jmp doret
end